package com.shared.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.io.Serializable;

/**
 * (PComment)实体类
 *
 * @author makejava
 * @since 2020-06-16 19:57:14
 */
@ApiModel(value = "PComment", description = "商品评论")
public class PComment implements Serializable {
    private static final long serialVersionUID = -67897595372785879L;
    @ApiModelProperty(value = "[自动增长]主键id")
    private Object id;
    /**
     * 商品ID
     */
    @ApiModelProperty(value = "[必填]评论的商品id")
    private Integer goodsid;
    /**
     * 评论内容
     */
    @ApiModelProperty(value = "[必填]评论的内容")
    private String content;
    /**
     * 用户姓名
     */
    @ApiModelProperty(value = "[必填]评论的用户昵称")
    private String username;
    //用户头像
    @ApiModelProperty(value = "[必填]评论的用户头像")
    private String userimg;
    /**
     * 评论IP
     */
    @ApiModelProperty(value = "[必填]评论的ip")
    private String memberip;
    /**
     * 评论时间
     */
    @ApiModelProperty(value = "[必填]评论的时间")
    private Date commentime;

    public String getUserimg() {
        return userimg;
    }

    public void setUserimg(String userimg) {
        this.userimg = userimg;
    }

    public Object getId() {
        return id;
    }

    public void setId(Object id) {
        this.id = id;
    }

    public Integer getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Integer goodsid) {
        this.goodsid = goodsid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getMemberip() {
        return memberip;
    }

    public void setMemberip(String memberip) {
        this.memberip = memberip;
    }

    public Date getCommentime() {
        return commentime;
    }

    public void setCommentime(Date commentime) {
        this.commentime = commentime;
    }

}